package com.cmc.cloud.cmclink.doc.api.document.rep.sendarrivaldto;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 查询请求参数DTO
 * 
 * @author dev89
 * @date 2025/10/09 10:20
 **/
@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "管理后台 - 提单 operate ")
public class BlnoSendArrivalReqDTO {
    @Schema(description = "提单id", requiredMode = Schema.RequiredMode.REQUIRED, example = "29756")
    private Long blnoId;

    @Schema(description = "港口", requiredMode = Schema.RequiredMode.REQUIRED, example = "29756")
    @Length(max = 5, message = "{doinfo.currentport.length}")
    @NotNull(message = "doinfo.currentport.notnull")
    private String currentPort;
}
